package com.example.lottery;


import com.example.lottery.service.VerificationCodeService;
import com.example.lottery.service.impl.VerificationCodeServiceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class VerificationCode {
    @Autowired
    private VerificationCodeServiceImpl verificationCodeService;
    @Test
    void t() {
        verificationCodeService.sendVerificationCode("3438981745@qq.com");
        System.out.println(verificationCodeService.getVerificationCode("3438981745@qq.com"));
    }
}
